<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@page isELIgnored="false"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="javascript/funcoes.js"></script>
<script type="text/javascript" src="javascript/funcoes_cmv.js"></script>
    <script type="text/javascript" src="javascript/calendar.js"></script>
    <script type="text/javascript" src="javascript/calendar-setup.js"></script>
    <script type="text/javascript" src="javascript/calendar-pt.js"></script>
    <link rel="stylesheet" type="text/css" href="estilos/skins/aqua/theme.css" />
<title>Insert title here</title>
</head>
<body>

<c:if test="${sessionScope.Cliente == null}">
	<c:set var="mensagem" value="Por favor escolher um cliente!" scope="request"/>
	<jsp:forward page="mensagens.jsp"/>
</c:if>

<c:set var="cliente" value="${sessionScope.Cliente}"/>
<c:set var="planilha" value="${sessionScope.Planilha}"/>

<h3>Importar Arquivo - ${cliente.nome} - ${planilha.nome_planilha}</h3>
<hr/>

<p>Escolha o arquivo a ser importado</p>

	<form action="controleCOMPOSESTOQUE?opcao=UPLOAD_ARQUIVO" id="formulario" enctype="multipart/form-data" method="post">
	
		<table align="center">
		
			<tbody>
			
				<tr>
					<td class="label"><label>Arquivo:</label></td>
					<td><input class="grande" type="file" id="arquivo" name="arquivo"></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td>&nbsp;</td>					
				</tr>
				<tr>
					<td colspan="2">
						<input class="button" type="reset" id="limpar" name="limpar" value="Limpar"/>
						<input class="button" type="submit" id="enviar" name="enviar" value="Ok"/>
					</td>
				</tr>				
			
			</tbody>
		
		</table>

	</form>		

</body>
</html>